package com.hyst.domain;

import java.util.Date;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.springframework.format.annotation.DateTimeFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* 实体
*/
@Data
@ApiModel(value = "", description = "")

public class LeaveRequest {
	

	@ApiModelProperty(value = "id")
	private Integer id;

	@Id
	@ApiModelProperty(value = "唯一标识")
	private String uniqueId;

	@ApiModelProperty(value = "请假申请时间")
	private String submissionTime;

	@ApiModelProperty(value = "外教id")
	private String teacherId;

	@ApiModelProperty(value = "外教名称")
	private String teacherName;

	@ApiModelProperty(value = "请假课程日期")
	private Date classDate;

	@ApiModelProperty(value = "请假课程时间")
	private String classPeriod;

	@ApiModelProperty(value = "请假课程名称")
	private String className;

	@ApiModelProperty(value = "学生id")
	private String studentId;

	@ApiModelProperty(value = "学生英文名")
	private String studentName;

	@ApiModelProperty(value = "请假状态")
	private String state;
	
	@ApiModelProperty(value = "负责人ID")
	private String adminId;

	@ApiModelProperty(value = "请假状态")
	private Integer csid;
	@ApiModelProperty(value = "短信ID")
	private String smsId;
	@Transient
	private String adminName;
	@Transient
	private String sendStatus;
	@Transient
	private String startDate;
	@Transient
	private String endDate;
	@Transient
	private String leaveDateStr;

	@Transient
	private String classDateStr;

	@Transient
	private Integer[] cids;

	// 排序方式
	@Transient
	private String sort = "DESC";

	@Transient
	private int pageNum = 1;

	@Transient
	private int pageSize = Integer.MAX_VALUE;
}
